5. Accumulated Linux/UNIX operation commands (cp, mv, cat, grep, ps) and cpgrep
In Linux/UNIX, users often use the text interface to set the system or operating system. The author is constantly in touch with this command during his work, therefore,
V. Accumulated Linux/UNIX operation commands (cp, mv, cat, grep, and ps]
In Linux/UNIX, users often use the text interface to set the system or operating system. The author is constantly in touch with this command during his work, therefore, this
1 command function (brief description):Commands can be used to move files or change file names, often used to back up files or directories, MV--and move2 Command syntax:MV "option" "Source file or directory name" "Target file or directory name" #注: "
under the use of Linux/unix, often use the text interface to set up the system or operating system, the author himself in the process of work is also constantly in touch with this command, so for This special brewing, preparation, began the writing
CP command: cp-copy files and directories"Function" copy function, commonly used to do service configuration file backupCP means copy, is the copy of the abbreviation, copy the file and the intention to rename the file, when copying multiple files,
MV [options] existing-file new-filenameMV [options] existing-file-list directoryMV [options] existing-directory new-directoryParametersThe first form:existing-file is the file path that needs to be renamed; New-filename is a new pathname to the file
Command format:MV [option] source file or directory destination file or directory
Command function:Move a file or directory; rename files and directories
Common options:- b If you need to overwrite the file, back up the file that will be
Convert RM command to MV Command, cannot use the-R parameter, will report an error, because the MV command does not have the-R parameter, the following is the method:
Create a hidden folder in the user's home directory ~/.trash as the
The following content is from "Bird's private Cuisine"Copy, delete, and move under the Linux command line: CP,RM,MVCP (COPY) replicationCP This command is used many, in addition to simple replication, you can also create a link file compared to two
Step by step, create a crosstoolchain based on ARM + Linux-Linux general technology-Linux programming and kernel information. The following is a detailed description. Disclaimer: This article is based on the reference of online materials, and is
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.